import Vue from 'vue'
import Router from 'vue-router'
import rank from 'components/rank/rank'
import recommend from 'components/recommend/recommend'
import search from 'components/search/search'
import singer from 'components/singer/singer'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      redirect:'/recommend'
    },
    {
      path: '/Rank',
      component: rank
    },
    {
      path: '/Recommend',
      component: recommend
    },
    {
      path: '/Search',
      component: search
    },
    {
      path: '/Singer',
      component: singer
    }
  ]
})
